MediaPicker

constructor(types: Set<NavigationSpec.MediaPicker.Type>, delegate: <Error class: unknown class>? = null, settings: NavigationSpec.MediaPicker.Settings = Settings(), animated: Boolean = false, completion: () -> Unit? = null)

Parameters

types

the set of MediaPicker.Type

delegate

the MPMediaPickerControllerDelegateProtocol added to the MPMediaPickerController

settings

the MediaPicker.Settings to configure the MPMediaPickerController

animated

Specifies whether transition should be animated

completion

Optional function called when presentation is completed